<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";

import { ref } from "vue";
import { useAppStore } from '@/stores/appStore'
const appStore = useAppStore()
onLaunch(() => {
  console.log("App Launch");
  // const store = useAppStore()
  // const loginFlag = uni.getStorageSync('isLoggedIn') || false
  // store.setLogin(loginFlag)


});
onShow(() => {
  console.log("App Show");
});
onHide(() => {
  console.log("App Hide");
});
</script>
<style></style>
